package com.zhuiyi.yiqingbackend.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SafeBase implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private String gender;
    private String idCard;
    private String uname;
    private String phone;

    public SafeBase(Base base){
        this.id= base.getId();
        this.gender=base.getGender();
        this.idCard=base.getIdCard();
        this.uname=base.getUname();
        this.phone=base.getPhone();
    }

}
